<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
  
 </body>
</html>
<script>
function xj(e)
{
	var sum = 0;
	for (var a=1;a<=e ;a++ )
	{
		sum += xc(a);
	};
	return sum
};

function xc(d)
{
	var b = 1;
	for (var c=1;c<=d ;c++ )
	{
		b *= c;
	};
	return b
};
console.log(xj(10));

</script>
